package cn.shengongying.admin;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableDubbo(multipleConfig = false,scanBasePackages = "cn.shengongying.admin.controller")
@SpringBootApplication(scanBasePackages = "cn.shengongying")
@MapperScan(annotationClass = Repository.class,basePackages = "cn.shengongying.dao")
public class SgyAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(SgyAdminApplication.class, args);
    }

}
